package com.infitecs.eyas.develop.dao;

import com.infitecs.eyas.develop.model.PermissionTreeNode;
import com.infitecs.krill.mybatis.annotation.mybatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@mybatisRepository
public interface PermissionDao {

    List<PermissionTreeNode> getPermissionTree();

    List<PermissionTreeNode> getPermissionTreeByRoleName(@Param("roleId") String roleId);

}
